Skip to content

Conversation

@mgrundkoetter
Copy link

No description provided.

@schams-net schams-net added the question Further information is requested label Feb 14, 2019
@schams-net
Copy link

I understand this is not your code, I am just wondering, maybe someone can explain if the ViewHelper really does what it is meant to do :-)

Description in the comment reads:

ViewHelper that renders its contents if there is a user currently logged in.

I'd say, either the function or the description is wrong. If the description is wrong, and the ViewHelper in fact should just check, if the current user is logged-in, can't we use Fluid's existing IfAuthenticated-ViewHelper (which derives from AbstractConditionViewHelper already)?

@DavidBruchmann
Copy link
Owner

DavidBruchmann commented Feb 14, 2019

sorry, I was mistaking in deleted comment, at least related to the changed code.

@mgrundkoetter
Copy link
Author

Yeah, sure. But that is not backward compatible :-) Better: deprecate it now, remove it in the next major release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

question Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants